home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 011 / mouses.arc / M_WS.MSC < prev   
Encoding:
Text File  |  1986-08-28  |  6.3 KB  |  218 lines

  1. ;
  2. ;    Wordstar Pop-up Menu Configuration
  3. ;
  4. Comment     ("Configured for Wordstar Version 3.3")
  5.  
  6. ;
  7. ;    Parameters
  8. ;
  9. Sensitivity    (13,12)     ; (Xinc, Yinc)
  10. Hysteresis    (2,2)        ; (AutoX, AutoY)
  11. ReverseVideo    (Yes)        ; Menu is displayed in reverse video
  12. FixedMenu    (No)        ; Menu is floating (centered on cursor)
  13. EnableBeep    (No)        ; Allows menu switching rather than beep
  14.  
  15. ;
  16. ;    Cursor Definitions
  17. ;
  18. SpaceKeys: Cursor
  19. (
  20.     Left    ()
  21.     Right    ()
  22.     Up    ()
  23.     Down    ()
  24. )
  25.  
  26. WordKeys: Cursor
  27. (
  28.     Left   ([c-S])
  29.     Right  ([c-D])
  30.     Up     ([c-E])
  31.     Down   ([c-X])
  32. )
  33.  
  34. ;
  35. ;    Button Definitions
  36. ;
  37. LBO:    Button    (Menu(Open),Cursor(SpaceKeys)); Left button, Open Menu
  38. LBE:    Button    (Menu(Edit),Cursor(WordKeys)) ; Left button, Edit Menu
  39. LBB:    Button    (Menu(Block),Cursor(WordKeys)); Left button, Block Menu
  40. LBS:    Button    (Menu(Style),Cursor(WordKeys)); Left button, Style Menu
  41. LBF:    Button    (Menu(Find),Cursor(WordKeys)) ; Left button, Find & Replace
  42. MBM:    Button    (Menu(Motion))              ; Middle button, Motion Menu
  43. RBF:    Button    (Menu(File))              ; Right button, File Menu
  44.  
  45. ;
  46. ;    Menu Definitions
  47. ;
  48. Open: Menu
  49. (
  50.     Title    ("Opening")
  51.     Item    ("Edit Menu",           Menu(Edit),Button(LBE),
  52.                     Cursor(WordKeys))
  53.     Item    ("Change Logged Disk",  Keys("L"))
  54.     Item    ("File Directory",      Keys("F"))
  55.     Item    ("Set help Level",      Keys("H"))
  56.     Item    ("Open a document",     Keys("D"),Button(LBE)
  57.                     Cursor(WordKeys))
  58.     Item    ("Open a non-document", Keys("N"),Button(LBE)
  59.                     Cursor(WordKeys))
  60.     Item    ("Print",               Keys("P"))
  61.     Item    ("Rename",              Keys("E"))
  62.     Item    ("Copy a file",         Keys("O"))
  63.     Item    ("Delete a file",       Keys("Y"))
  64.     Item    ("Run a Program",       Keys("R"))
  65.     Item    ("Exit to system",      Keys(X))
  66.     Item    ("MailMerge",           Keys(M))
  67.     Item    ("SpellStar",           Keys(S))
  68. )
  69.  
  70. Edit: Menu
  71. (
  72.     Title    ("Edit")
  73.     Item    ("Block Menu",          Menu(Block),Button(LBB))
  74.     Item    ("Delete Menu",         Menu(Delete))
  75.     Item    ("Style Menu",          Menu(Style),Button(LBS))
  76.     Item    ("Find & Replace Menu", Menu(Find), Button(LBF))
  77.     Item    ("Options Menu",        Menu(Options))
  78.     Item    ("Dot Commands Menu",   Menu(DotCmds))
  79.     Item    ("Edit Answer Menu",    Menu(EditAns))
  80.     Item    ("Open Menu",           Menu(Open),Button(LBO),
  81.                     Cursor(SpaceKeys))
  82. )
  83.  
  84. Block: Menu
  85. (
  86.     Title    ("Block")
  87.     Item    ("Edit Menu",           Menu(Edit),Button(LBE))
  88.     Item    ("Mark Start",          Keys([c-K] "B"))
  89.     Item    ("Mark End",            Keys([c-K] "K"))
  90.     Item    ("Delete",              Keys([c-K] "Y"))
  91.     Item    ("Move",                Keys([c-K] "V"))
  92.     Item    ("Copy",                Keys([c-K] "C"))
  93.     Item    ("Write Block",         Keys([c-K] "W"))
  94.     Item    ("Restore Cursor",      Keys([c-Q] "V"))
  95.     Item    ("Toggle Column Mode",  Keys([c-K] "N"))
  96.     Item    ("Directory Display On/Off", Keys([c-K] [c-F]))
  97. )
  98.  
  99. Delete: Menu
  100. (
  101.     Title    ("Delete")
  102.     Item    ("Line",                Keys([c-Y]))
  103.     Item    ("To End Line",         Keys([c-Q] "Y"))
  104.     Item    ("To Begin Line",       Keys([c-Q] [Del]))
  105.     Item    ("Word Right",          Keys([c-T]))
  106.     Item    ("Character",           Keys([c-G]))
  107.     Item    ("Character Left",      Keys([Del]))
  108.     Item    ("Block",               Keys([c-K] "Y"))
  109. )
  110.  
  111. Style: Menu
  112. (
  113.     Title    ("Style")
  114.     Item    ("Edit Menu",           Menu(Edit),Button(LBE))
  115.     Item    ("Boldface",            Keys([c-P] "B"))
  116.     Item    ("Underscore",          Keys([c-P] "S"))
  117.     Item    ("Subscript",           Keys([c-P] "V"))
  118.     Item    ("Superscript",         Keys([c-P] "T"))
  119.     Item    ("Control Character",   Keys([c-P]))
  120.     Item    ("Strikeover Character",Keys([c-P] "H"))
  121. )
  122.  
  123. Find: Menu
  124. (
  125.     Title    ("Find and Replace")
  126.     Item    ("Edit Menu",           Menu(Edit),Button(LBE))
  127.     Item    ("Find String",         Keys([c-Q] "F"))
  128.     Item    ("Find & Replace",      Keys([c-Q] "A"))
  129.     Item    ("Find or Replace Again",Keys([c-L]))
  130.     Item    ("Restore Cursor",      Keys([c-Q] "V"))
  131.     Item    ("Edit Answer Menu",    Menu(EditAns))
  132.     Item    ("Find Characters Menu",Menu(FindChar))
  133. )
  134.  
  135. Options: Menu
  136. (
  137.     Title    ("Options")
  138.     Item    ("Help On",             Keys([c-J] "H3"))
  139.     Item    ("Help Off",            Keys([c-J] "H0"))
  140.     Item    ("Line Spacing",        Keys([c-O] "S"))
  141.     Item    ("Left Margin",         Keys([c-O] "L"))
  142.     Item    ("Right Margin",        Keys([c-O] "R"))
  143.     Item    ("Release Margin",      Keys([c-O] "X"))
  144.     Item    ("Set Tab Stop",        Keys([c-O] "I"))
  145.     Item    ("Clear Tab Stop",      Keys([c-O] "N"))
  146.     Item    ("Center",              Keys([c-O] "C"))
  147.     Item    ("Reform",              Keys([c-B]))
  148.     Item    ("Insert/Replace On/Off", Keys([c-V]))
  149. )
  150.  
  151. DotCmds: Menu
  152. (
  153.     Title    ("Dot Commands")
  154.     Item    ("Omit Page Number",    Keys(".OP" [Enter]))
  155.     Item    ("Unconditional Page",  Keys(".PA" [Enter]))
  156.     Item    ("Conditional Page",    Keys(".CP "))
  157.     Item    ("Heading",             Keys(".HE "))
  158.     Item    ("Footing",             Keys(".FO "))
  159.  
  160. )
  161.  
  162. EditAns: Menu
  163. (
  164.     Title    ("Edit Answer")
  165.     Item    ("Delete Entry",        Keys([c-Y]))
  166.     Item    ("Restore Entry",       Keys([c-R]))
  167.     Item    ("Delete Character",    Keys([c-S]))
  168.     Item    ("File Directory",      Keys([c-F]))
  169.     Item    ("Scroll Directory Up", Keys([c-Z]))
  170.     Item    ("Scroll Directory Down", Keys([c-W]))
  171.     Item    ("Cancel Command",      Keys([c-U] [Esc]))
  172. )
  173.  
  174. FindChar: Menu
  175. (
  176.     Title    ("Find Character")
  177.     Item    ("Match Any Single Character",  Keys([c-P] [c-A]))
  178.     Item    ("Match Non-Letter, Non-Digit", Keys([c-P] [c-S]))
  179.     Item    ("Match Other Than Next Character", Keys([c-P] [c-O]))
  180.     Item    ("Match End of Line",           Keys([c-P] [c-N]))
  181. )
  182.  
  183. Motion: Menu
  184. (
  185.     Title    ("Motion")
  186.     Item    ("Screen Up",           Keys([c-C]))
  187.     Item    ("Screen Down",         Keys([c-R]))
  188.     Item    ("Top of File",         Keys([c-Q] "R"))
  189.     Item    ("Bottom of File",      Keys([c-Q] "C"))
  190.     Item    ("Goto Previous Place", Keys([c-Q] "P"))
  191. )
  192.  
  193. File: Menu
  194. (
  195.     Title    ("File")
  196.     Item    ("Save & Resume",       Keys([c-K] "S"))
  197.     Item    ("Save Done",           Keys([c-K] "D"),Cursor(SpaceKeys))
  198.     Item    ("Save Exit",           Keys([c-K] "X"),Cursor(SpaceKeys))
  199.     Item    ("Abandon File",        Keys([c-K] "Q"),Cursor(SpaceKeys))
  200.     Item    ("Read",                Keys([c-K] "R"),Cursor(WordKeys))
  201.     Item    ("Copy",                Keys([c-k] "O"))
  202.     Item    ("Delete",              Keys([c-K] "Y"))
  203.     Item    ("Print",               Keys([c-K] "P"))
  204.     Item    ("Rename",              Keys([c-K] "E"))
  205. )
  206.  
  207. ;
  208. ;    Mouse Definition
  209. ;
  210. Mouse
  211. (
  212.     Left    (LBO)            ; Left Button:      Open Menu
  213.     Middle    (MBM)            ; Middle Button:  Motion Menu
  214.     LeftRight(MBM)            ; Left Right button chord
  215.     Right    (RBF)            ; Right Button:   File Menu
  216.     Cursor    (SpaceKeys)
  217. )
  218.